class IdentificationController {
    
   /* def index = { redirect(action:list,params:params) }

    // the delete, save and update actions only accept POST requests
    def allowedMethods = [delete:'POST', save:'POST', update:'POST']

    def list = {
        if(!params.max) params.max = 10
        [ identificationInstanceList: rowingmanager.domain.Identification.list( params ) ]
    }

    def show = {
        def identificationInstance = rowingmanager.domain.Identification.get( params.id )

        if(!identificationInstance) {
            flash.message = "rowingmanager.domain.Identification not found with id ${params.id}"
            redirect(action:list)
        }
        else { return [ identificationInstance : identificationInstance ] }
    }

    def delete = {
        def identificationInstance = rowingmanager.domain.Identification.get( params.id )
        if(identificationInstance) {
            identificationInstance.delete()
            flash.message = "rowingmanager.domain.Identification ${params.id} deleted"
            redirect(action:list)
        }
        else {
            flash.message = "rowingmanager.domain.Identification not found with id ${params.id}"
            redirect(action:list)
        }
    }

    def edit = {
        def identificationInstance = rowingmanager.domain.Identification.get( params.id )

        if(!identificationInstance) {
            flash.message = "rowingmanager.domain.Identification not found with id ${params.id}"
            redirect(action:list)
        }
        else {
            return [ identificationInstance : identificationInstance ]
        }
    }

    def update = {
        def identificationInstance = rowingmanager.domain.Identification.get( params.id )
        if(identificationInstance) {
            identificationInstance.properties = params
            if(!identificationInstance.hasErrors() && identificationInstance.save()) {
                flash.message = "rowingmanager.domain.Identification ${params.id} updated"
                redirect(action:show,id:identificationInstance.id)
            }
            else {
                render(view:'edit',model:[identificationInstance:identificationInstance])
            }
        }
        else {
            flash.message = "rowingmanager.domain.Identification not found with id ${params.id}"
            redirect(action:edit,id:params.id)
        }
    }

    def create = {
        def identificationInstance = new rowingmanager.domain.Identification()
        identificationInstance.properties = params
        return ['identificationInstance':identificationInstance]
    }

    def save = {
        def identificationInstance = new rowingmanager.domain.Identification(params)
        if(!identificationInstance.hasErrors() && identificationInstance.save()) {
            flash.message = "rowingmanager.domain.Identification ${identificationInstance.id} created"
            redirect(action:show,id:identificationInstance.id)
        }
        else {
            render(view:'create',model:[identificationInstance:identificationInstance])
        }
    }*/
}
